import Vue from 'vue'
import {simplebar} from '@/init/simplebar.js'

let context = require.context('@/component', true, /\.vue$/)
let keys = context.keys()
for (let key of keys) {
    let component = context(key).default
    Vue.component(component.name, component)
}
Vue.component('simplebar', simplebar)